package com.example.demo;

public class Test01 {
    public static void main(String[] args) throws ClassCastException, ClassNotFoundException {
        Class cls=Class.forName("com.ndky.Test01");
        Class<Test01> test01Class = Test01.class;
        Test01 test01 = new Test01();
        Class aClass = test01.getClass();

    }
}
